// 引入axios对象
import request from '../utils/request.js'

// 获取城市列表数据
export function getCity () {
  return request({
    url: '/chart-data/indexes',
    method: 'GET'
  })
}

// 获取工资数据
export function getSalary (params) {
  return request({
    url: '/chart-data/statistics',
    method: 'GET',
    params
  })
}
